home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Memphis Amiga Group / MAG Disk (1989-06)(Memphis Amiga Group).zip / MAG Disk (1989-06)(Memphis Amiga Group).adf / ilbm.h < prev    next >
Text File  |  1986-11-06  |  730b  |  28 lines

  1. /*
  2.  * Yet another definition of ILBM
  3.  */
  4. typedef struct
  5. {
  6.     u_short bm_width, bm_height;
  7.     short    bm_xpos, bm_ypos;
  8.     u_char    bm_numplanes;
  9.     u_char    bm_masktype;
  10.     u_char    bm_compression;
  11.     u_char    bm_pad;
  12.     u_short    bm_transparentcol;
  13.     u_char    bm_xaspect, bm_yaspect;
  14.     short    bm_pagewidth, bm_pageheight;
  15. }  BitMapHeader;
  16.  
  17.  
  18. #define MAKEID(a, b, c, d)    ((a << 24) | (b << 16) | (c << 8) | d)
  19.  
  20. #define ID_FORM        MAKEID('F', 'O', 'R', 'M')
  21. #define ID_ILBM        MAKEID('I', 'L', 'B', 'M')
  22. #define ID_BMHD        MAKEID('B', 'M', 'H', 'D')
  23. #define ID_CMAP        MAKEID('C', 'M', 'A', 'P')
  24. #define ID_GRAB        MAKEID('G', 'R', 'A', 'B')
  25. #define ID_DEST        MAKEID('D', 'E', 'S', 'T')
  26. #define    ID_CAMG        MAKEID('C', 'A', 'M', 'G')
  27. #define ID_BODY        MAKEID('B', 'O', 'D', 'Y')
  28.